﻿<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="QuanTriMenu.aspx.cs" Inherits="ThienLoc.Admin.QuanTriMenu"
    MasterPageFile="~/Admin/AdminSite.Master" %>

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
    <div class="NoiDungChinh">
        <img class="FormImage" src="images/computer.png" />
        <p class="FormTitle">
            Quản trị nội dung Menu</p>
    </div>
    <div class="NoiDung">
        <div class="MenuDoc">
            <br />
            <span style="">Menu dọc</span>
            <asp:TreeView ID="TreeView1" ExpandDepth="fullyExpand" PopulateNodesFromClient="true"
                ShowLines="true" ShowExpandCollapse="true" runat="server" 
                ForeColor="White" NodeIndent="20"
                CssClass="TreeviewMenu" CollapseImageUrl="images/menu0.gif" 
                ExpandImageUrl="images/menu3.gif" 
                onselectednodechanged="TreeView1_SelectedNodeChanged">
                <SelectedNodeStyle BorderColor="White" BorderStyle="Solid" BorderWidth="1px" Font-Bold="true" />
                <HoverNodeStyle Font-Bold="true" />
            </asp:TreeView>
        </div>
        <h1 id="TieuDeChuyenMuc" runat="server">
        </h1>
        <asp:Button ID="btnThem" runat="server" CssClass="cmdBtn" Text="Thêm menu Danh mục"
            OnClick="btnThem_Click" />
        <div class="FormThaoTac" id="FormThaoTac" visible="false" runat="server">
            <asp:HiddenField ID="MenuID" runat="server" />
            <table class="ListForm">
                <tr>
                    <td>
                        Tên menu
                    </td>
                    <td>
                        <asp:TextBox ID="txtTen" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        Ảnh hiển thị
                    </td>
                    <td>
                        <asp:FileUpload ID="imgMenuUploadFile" runat="server" />
                        <asp:Image ID="imgMenu" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:Button ID="btnCapNhat" runat="server" CssClass="cmdBtn" Text="Sửa menu Danh mục"
                            OnClick="btnCapNhat_Click" />
                        <asp:Button ID="btnXoa" runat="server" CssClass="cmdBtn" Text="Xóa menu" OnClick="btnXoa_Click" />
                        <asp:Button ID="btnHuy" runat="server" CssClass="cmdBtn" Text="Hủy" OnClick="btnHuy_Click"
                            Visible="False" />
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>
